package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.UserEcologyUsableAmountUpperLimitDetailTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 生态-用户燃料可释放额度记录详情表(sc_user_ecology_usable_amount_upper_limit_detail)实体类
 *
 * @author Sun
 * @since 2024-03-12 16:48:49
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_ecology_usable_amount_upper_limit_detail")
public class UserEcologyUsableAmountUpperLimitDetail extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 类型
     */
    private UserEcologyUsableAmountUpperLimitDetailTypeEnum type;
    /**
     * 类型
     */
    private String typeName;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 交易前余额
     */
    private BigDecimal beforeBalance;
    /**
     * 交易后余额
     */
    private BigDecimal afterBalance;
    /**
     * 是否是加 0:否 1:是
     */
    private Boolean isAdd;
    /**
     * 备注
     */
    private String remark;

}